#ifndef __OBJECT_h__
#define __OBJECT_h__

#include <Ogre.h>
using namespace Ogre;

class Object
{
public:
	Object();
	Object(Ogre::String name, Ogre::Vector3 loc, Ogre::SceneNode *node, Ogre::Entity *ent, Ogre::Vector3 size, bool destructable, bool active = false);
	~Object();

	virtual Ogre::Vector3 getLocation();
	virtual Ogre::String getName();
	virtual Ogre::SceneNode *getNode();
	virtual Ogre::Entity *getEntity();
	virtual Ogre::Vector3 getSize();
	virtual bool isActive();
	virtual bool isDestructable();
	virtual bool callFunction();

	virtual void setLocation(Ogre::Vector3 loc);
	virtual void setName(Ogre::String name);

private:
	Ogre::String mName;
	Ogre::Vector3 mLocation, mSize;
	Ogre::Entity *mEntity;
	Ogre::SceneNode *mNode;
	bool mKillable, mActive;

	//(bool *) oFunction();
	
};

#endif